using System;

namespace Camalon.Drawing.Samples.CSharp
{
	/// <summary>
	/// Summary description for TestTextureFill.
	/// </summary>
	public class TextureFillSample:Camalon.Drawing.ShapeContainer
	{
		private Camalon.Drawing.Shapes.RectangleShape rectangle;
        private Camalon.Drawing.ShapePen shapePen;
		private Camalon.Drawing.TextureFill textureFill;

		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextureFillSample));
            this.rectangle = new Camalon.Drawing.Shapes.RectangleShape();
            this.textureFill = new Camalon.Drawing.TextureFill();
            this.shapePen = new Camalon.Drawing.ShapePen();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // rectangle
            // 
            this.rectangle.Fill = this.textureFill;
            this.rectangle.Pen = this.shapePen;
            this.rectangle.Position = new System.Drawing.Point(60, 60);
            this.rectangle.Size = new System.Drawing.Size(500, 220);
            // 
            // textureFill
            // 
            this.textureFill.Image = ((System.Drawing.Image)(resources.GetObject("textureFill.Image")));
            this.textureFill.ImageWrap = System.Drawing.Drawing2D.WrapMode.TileFlipXY;
            // 
            // shapePen
            // 
            this.shapePen.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;
            // 
            // TestTextureFill
            // 
            this.Position = new System.Drawing.Point(26, 29);
            this.Shapes.AddRange(new Camalon.Drawing.Shape[] {
            this.rectangle});
            this.Size = new System.Drawing.Size(719, 406);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

		}
	
		public TextureFillSample()
		{
			//
			// TODO: Add constructor logic here
			//
		}
	}
}
